<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>留言反馈_浪鲸卫浴 中国卫浴十大品牌 品质浪鲸·全球共享 出口107个国家及地区的中国卫浴品牌</title>
<meta name="robots" content="all" />
<meta name="keywords" content="卫浴专卖" />
<meta name="description" content="卫浴专卖" />
<meta name="Identifier-URL" content="http://www.netgather.com" />
<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="/favicon.ico" type="image/x-icon" />
<link href="page/css/reset.css" rel="stylesheet" type="text/css" />
<link href="page/css/webmain.css" rel="stylesheet" type="text/css" />
<link href="page/css/ddsmoothmenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="page/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="page/js/jquery.KinSlideshow-1.2.1.js"></script>
<script type="text/javascript" src="page/js/webtry_roll.js"></script>
<script type="text/javascript" src="page/js/ddsmoothmenu.js"></script>
</head>
<body>
<!--分享到代码 -->
<script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#uuid=&amp;style=3&amp;fs=4&amp;textcolor=#000&amp;bgcolor=#DDD&amp;text=分享到"></script>

<div id="wrapper">
      <c:import url="common/navigation.jsp">
		  <c:param name="q">guestbook</c:param>
	  </c:import>
  <jsp:include page="common/poster.jsp"></jsp:include>
  <div id="page_main" class="clearfix">
    <div class="page-right">
      <div class="site-nav"><span>当前位置 : </span><a href="url!index.action">门面主页</a> &gt;&gt; <a href="url!guestbook.action" title="留言反馈">留言反馈</a></div>
      <div class="page-guestbook">
    	<form method="post" name="guestbook" id="guestbook" onsubmit="return check()">
		   <dl class="clearfix">
			  <dt>您的姓名：</dt><dd><input name="Guest_Name" type="text" id="Guest_Name" /><span>*</span></dd>
			  <dt>邮件地址：</dt><dd><input name="Guest_Email" type="text" id="Guest_Email" /><span>*</span></dd>
			  <dt>电话：</dt><dd><input name="Guest_TEL" type="text" id="Guest_TEL" /></dd>
			  <dt>传真：</dt><dd><input name="Guest_FAX" type="text" id="Guest_FAX" /></dd>
			  <dt>地址：</dt><dd><input name="Guest_ADD" type="text" id="Guest_ADD" /></dd>
			  <dt>邮编：</dt><dd><input name="Guest_ZIP" type="text" id="Guest_ZIP" /></dd>
			  <dt>留言内容：</dt><dd><textarea name="Content" cols="" rows="" class="Content" id="Content"></textarea></dd>
			  <dt>验证码：</dt><dd><input name="checkcode" type="text" id="checkcode" maxlength="4" autocomplete="off" />
			  <img  width="100" height="35"  src= "checkCode.do?method=service.do" onclick="changeValidateCode(this)" style="cursor: hand;" /></dd>
		  </dl>
		  <p><input name="submit" type="submit" id="submit" value="提交信息" /></p>
      </form>
      </div>
    </div>
      <div class="page-left">
	      <div class="left-search">
	        <h2><span>站内搜索</span></h2>
		       <form action="" method="post" id="sitesearch" name="sitesearch">
		          <p><select name="searchid" id="searchid"><option value="2">产品展示</option><option value="3">新闻中心</option><option value="4">招聘信息</option></select></p>
		          <p><input name="searchtext" type="text" id="searchtext"/></p>
		          <p><input name="searchbutton" type="submit" id="searchbutton" value="" /></p>
		       </form>
	      </div>
      <jsp:include page="common/contactinfo.jsp"></jsp:include>
    </div>
  </div>
      <jsp:include page="common/foot.jsp"></jsp:include>
</div>
</body>
<script type="text/javascript">
	function check() {
		if (document.guestbook.Guest_Name.value == "") {
			alert("请填写您的姓名");
			document.guestbook.Guest_Name.focus();
			return false
		}
		if (document.guestbook.Guest_Email.value == "") {
			alert("请填写邮件地址");
			document.guestbook.Guest_Email.focus();
			return false
		}
		if (document.guestbook.Content.value == "") {
			alert("请填写反馈内容");
			document.guestbook.Content.focus();
			return false
		}
		if (document.guestbook.checkcode.value == "") {
			alert("请填写验证码");
			document.guestbook.checkcode.focus();
			return false
		}
		if (document.guestbook.checkcode.value.length < 4) {
			alert("验证码必须为4位");
			document.guestbook.checkcode.focus();
			return false;
		}
		var re = /^[1-9]+[0-9]*]*$/;//判断字符串是否为正整数
		if (!re.test(document.guestbook.checkcode.value)) {
			alert("验证码必须是数字");
			document.guestbook.checkcode.focus();
			return false;
		}
		return true;
	}
// 滚动广告
$(function(){
    $("#banner").KinSlideshow({
       moveStyle:"right",
       titleBar:{titleBar_height:32,titleBar_bgColor:"#000",titleBar_alpha:0.7},
       titleFont:{TitleFont_size:12,TitleFont_color:"#FFFFFF",TitleFont_weight:"normal"},
       btn:{btn_bgColor:"#2d2d2d",btn_bgHoverColor:"#1072aa",btn_fontColor:"#FFF",btn_fontHoverColor:"#FFF",btn_borderColor:"#4a4a4a",btn_borderHoverColor:"#1188c0",btn_borderWidth:1}
    });
})
ddsmoothmenu.init({
	mainmenuid: "MainMenu", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
  	function changeValidateCode(obj){
  		var timeNow = new Date().getTime();
  		obj.src="checkCode.do?method=service.do="+timeNow;
  	}
</script>
</html>